.animated {
  animation-duration: 0.3s;
}

.empty-wrap {
  text-align: center;
  color: $gray-600;
  padding: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid $border-color;
  border-radius: $border-radius;
}

.text-muted {
  color: $gray-600 !important;
}

.btn-list button.btn {
  &:not(:last-child) {
    margin-right: 0.5rem;
  }
}

.card {
  box-shadow: $box-shadow-base;

  .card-body {
    padding: 1rem;
  }
}

$progress-bar-height: 8px;
.progress-bar {
  background-color: #eee;
  height: $progress-bar-height;
  border-radius: $progress-bar-height / 2;
  overflow: hidden;

  .progress-bar-full {
    background-color: $primary;
    background-color: var(--primary);
    height: $progress-bar-height;
    border-radius: $progress-bar-height / 2;
  }
}

.dl-wrap {
  display: flex;
  margin-bottom: 1rem;

  .dl-dt {
    color: #999;
    width: 100px;
  }

  .dl-dd {
    flex: 1;
  }
}

.flex-1,
.flex {
  flex: 1;
}

.cursor-pointer {
  cursor: pointer;
}

.table-bordered thead td,
.table-bordered thead th {
  border-bottom-width: 1px;
}

.table-vertical-middle td {
  vertical-align: middle;
}

.input-td {
  padding: 0 !important;

  > .cell {
    padding: 0 !important;
  }

  .form-control,
  .el-input__inner,
  .el-input-group__append {
    border: none;
  }

  .form-control,
  .el-input__inner,
  .el-textarea__inner {
    border: none;
    border-radius: 0;
    background-color: #ffffee;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;

    &:focus,
    &:hover {
      box-shadow: none;
    }
  }

  .input-group-text {
    background-color: transparent;
    border: none;
  }
}
.report-input-td {
  @extend .input-td;
  border-color: #333;
  // background-color: #ffffee;
}
.bg-input,
.el-table--striped .el-table__body tr.el-table__row--striped td.bg-input,
.el-table--enable-row-hover .el-table__body tr:hover > td.bg-input {
  background-color: #ffffee;
}

.report-input-td,
.input-td {
  input[type='number'] {
    -moz-appearance: textfield;
    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
      -webkit-appearance: none !important;
      margin: 0;
    }
  }
}

.date-picker-inline {
  width: 140px;
  display: inline-block;
  text-indent: 0px;
  .el-input__inner {
    background-color: #ffffee;
    padding-right: 10px;
    border: none;
    border-radius: 0;
  }
}

.panel-danger {
  color: #e51c23 !important;
  background-color: #fad2d3 !important;
}

.panel-warning {
  color: #e09609 !important;
  background-color: #fff3cd !important;
}

.btn-long {
  min-width: 100px;
}

.mutiple-table-header > th {
  background-color: #fff !important;
  > .cell {
    padding: 0.25rem 0.5rem;
  }
}

.record-option ol {
  margin-left: 1rem;
}
